package com.wechat.dao;

import com.wechat.entity.UserWithdrawcashRecords;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface UserWithdrawcashRecordsDao {
    /**
     * 
     */
    int deleteById(Long id);

    /**
     * 
     */
    int save(UserWithdrawcashRecords record);

    /**
     * 
     */
    UserWithdrawcashRecords findById(Long id);

    /**
     * 
     */
    int update(UserWithdrawcashRecords record);

    List<UserWithdrawcashRecords> list(@Param("userId") Integer userId,
                                       @Param("dataState") Integer dataState,
                                       @Param("payTimeBegin") Date payTimeBegin,
                                       @Param("payTimeEnd") Date payTimeEnd,
                                       @Param("createTimeBegin") Date createTimeBegin,
                                       @Param("createTimeEnd") Date createTimeEnd);
}